package com.example.mongodb1.entity;


import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.util.List;

@Document("d_from")
@Data
public class Form {
    @Id
    private String id;
    @Field(name = "name")
    private String name;

    private List<FormFiled> fields;


}
